<div class="fleetTable bgNoRepeat interface_fleet_table_background">
	<table class="colorWhite width100">
	  <colgroup>
		<col style="width: 124px;" />
		<col style="width: 48px;" />
		<col style="width: 48px;" />
		<col style="width: 48px;" />
		<col style="width: 48px;" />
		<col style="width: 48px;" />
	  </colgroup>

	  <tbody class="colorGrey">
		<tr>
		  <td class="fontSize12 fontBold borderNone">Geschütze</td>

		  <td style="text-align:center"><img src="<?php echo HOST; ?>/resources/img/x.gif" id=
		  "ingameHelp defence_image_1" class=
		  "ingameHelp fleet_<?php echo $defenceNumber; ?> fleetPos1 interface_defence_all1" title="Flak-Batterie"
		  alt="Flak-Batterie" rel="/help/defence/1" /></td>

		  <td style="text-align:center"><img src="<?php echo HOST; ?>/resources/img/x.gif" id=
		  "ingameHelp defence_image_2" class=
		  "ingameHelp fleet_<?php echo $defenceNumber; ?> fleetPos2 interface_defence_all1" title="Puls-Laser" alt=
		  "Puls-Laser" rel="/help/defence/2" /></td>

		  <td style="text-align:center"><img src="<?php echo HOST; ?>/resources/img/x.gif" id=
		  "ingameHelp defence_image_3" class=
		  "ingameHelp fleet_<?php echo $defenceNumber; ?> fleetPos3 interface_defence_all1" title="Gauss-Kanone" alt=
		  "Gauss-Kanone" rel="/help/defence/3" /></td>

		  <td style="text-align:center"><img src="<?php echo HOST; ?>/resources/img/x.gif" id=
		  "ingameHelp defence_image_4" class=
		  "ingameHelp fleet_<?php echo $defenceNumber; ?> fleetPos4 interface_defence_all1" title=
		  "Intervall-Gesch&#195;&#188;tz" alt="Intervall-Geschütz" rel=
		  "/help/defence/4" /></td>

		  <td style="text-align:center"><img src="<?php echo HOST; ?>/resources/img/x.gif" id=
		  "ingameHelp defence_image_5" class=
		  "ingameHelp fleet_<?php echo $defenceNumber; ?> fleetPos5 interface_defence_all1" title=
		  "Tachyonen-Strahler" alt="Tachyonen-Strahler" rel="/help/defence/5" /></td>
		</tr>

		<tr>
		  <td class="spacer" colspan="6"></td>
		</tr>
		<?php if (isset($buildings)) { ?>
		<tr>
			<td class="fontSize12 borderNone">Truppen</td>
			<?php 
				for ($i = 0; $i < count($buildings); $i++) {
					$building = $buildings[$i];
					
					echo "<td class=\"fontSize12 fontCenter ";
					if ($building > 0) {
						echo "fontBold";
					} else {
						echo "colorGrey";
					}
					echo "\">".$building."</td>";
				}
			?>
		</tr>
		<tr>
		  <td class="spacer" colspan="13"></td>
		</tr>
		<?php } ?>
		<?php if (isset($buildingLosses)) { ?>
		<tr>
			<td class="fontSize12 borderNone">Verluste</td>
			<?php 
				for ($i = 0; $i < count($buildingLosses); $i++) {
					$building = $buildingLosses[$i];
					
					echo "<td class=\"fontSize12 fontCenter ";
					if ($building > 0) {
						echo "fontBold";
					} else {
						echo "colorGrey";
					}
					echo "\">".$building."</td>";
				}
			?>
		</tr>
		<?php } ?>
	  </tbody>
	</table>
</div>
